import React, {Component} from 'react';
import {Button, Progress} from 'antd';
import './DialogLoading.css';

class DialogLoading extends Component {
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <div className="dialog-loading">
                {this.props.children}
                <Progress className="loading-progress" type="dashboard" percent={this.props.num} />
            </div>
        )
    }
}
export default DialogLoading;
